<h3 xmlns="http://www.w3.org/1999/html">Lista kategorija</h3>
<button class="btn btn-success" ng-click="izmeniKategoriju('novi')" data-toggle="modal" href="#editModal">
    <i class="icon-calendar icon-white"></i>&nbsp;Kreiraj novu kategoriju</button>
<table class='table table-striped'>
    <thead>
    <tr>
        <th>Kategorija</th>
        <th>&nbsp;</th>
    </tr>
    </thead>
    <tbody>
    <tr><td><b>Naziv</b></td></tr>
    <tr ng-repeat='kategorija in kategorije | orderBy:order'>
        <td>{{kategorija.nazivKategorije}}</td>
        <td><button role='button' class='btn btn-warning' ng-click="izmeniKategoriju(kategorija);" data-toggle="modal" href="#editModal">Izmeni</button></td>
    </tr>
    </tbody>
</table>
<div class="modal fade"  tabindex="-1" role="dialog" ng-include="'view/kategorija-detalji.html'" id="editModal" aria-hidden="true"></div>
</div>